package com.hust.bridgecheck.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

@Entity
public class Bridge {
    public Integer getID() {
        return ID;
    }

    public void setID(Integer ID) {
        this.ID = ID;
    }

    public Integer getDomainID() {
        return DomainID;
    }

    public void setDomainID(Integer domainID) {
        DomainID = domainID;
    }

    public String getType() {
        return Type;
    }

    public void setType(String type) {
        Type = type;
    }

    public Integer getLength() {
        return Length;
    }

    public void setLength(Integer length) {
        Length = length;
    }

    public Integer getSpan() {
        return Span;
    }

    public void setSpan(Integer span) {
        Span = span;
    }

    public Integer getUseYears() {
        return UseYears;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public void setUseYears(Integer useYears) {
        UseYears = useYears;
    }

    public Integer getHealth() {
        return Health;
    }

    public void setHealth(Integer health) {
        Health = health;
    }

    @Id
    @GeneratedValue
    private Integer ID;

    private Integer DomainID;
    private String Type;
    private Integer Length;
    private Integer Span;
    private Integer UseYears;
    private Integer Health;
    private String Name;
}
